package org.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/view")
public class ViewController {

    @RequestMapping("/index")
    public String index() {
        return "index";
    }

    @RequestMapping("/login")
    public String login() {
        return "login";
    }

    @RequestMapping("/catalog_list")
    public String catalog_list() {
        return "catalog_list";
    }

    @RequestMapping("/catalog_add")
    public String catalog_add() {
        return "catalog_add";
    }

    @RequestMapping("/cake_add")
    public String cake_add() {
        return "cake_add";
    }

    @RequestMapping("/cake_list")
    public String cake_list() {
        return "cake_list";
    }

}
